//
//  SLAlertView.h
//  SulitLoanDemo
//
//  Created by 虞嘉伟 on 2025/2/21.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface SLAlertView : UIView
@property (nonatomic, copy  ) void(^leftButtonCallback)(UIButton *b);
@property (nonatomic, copy  ) void(^rightButtonCallback)(UIButton *b);

/// 挽留弹窗
+ (instancetype)detainAlertWithLeftCallback:(void(^)(UIButton *button))leftButtonCallback rightCallback:(void(^)(UIButton *button))rightButtonCallback;

/// 退出登录弹窗
+ (instancetype)signOutAlertWithLeftCallback:(void(^)(UIButton *button))leftButtonCallback rightCallback:(void(^)(UIButton *button))rightButtonCallback;

/// 删除账号弹窗
+ (instancetype)terminateAccountAlertWithLeftCallback:(void(^)(UIButton *button))leftButtonCallback rightCallback:(void(^)(UIButton *button))rightButtonCallback;

@end

NS_ASSUME_NONNULL_END
